package com.cloudfun.campusshare.repo;

import com.cloudfun.campusshare.common.constant.KjtAuditStatus;
import com.cloudfun.campusshare.entity.SettleTypeChgApplicationEntity;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.data.repository.PagingAndSortingRepository;

import java.util.List;

/**
 * Created by CodeGenerator on 2020/08/13
 */
public interface KjtSettleTypeChgApplicationRepo extends PagingAndSortingRepository<SettleTypeChgApplicationEntity, String>,
        JpaSpecificationExecutor<SettleTypeChgApplicationEntity> {

    List<SettleTypeChgApplicationEntity> findBySubMerchantIdAndStatus(String subMerchantId, KjtAuditStatus status);

}